#!/bin/bash


javac ResInterface/ResourceManager.java
jar cvf ResInterface.jar ResInterface/*.class
javac ResImpl/*.java


export CLASSPATH=/Users/ysbecca/ysbecca-projects/rebdav-curr/servercode



java -Djava.rmi.server.codebase=file:$/Users/ysbecca/ysbecca-projects/rebdav-curr/servercode -Djava.security.policy=file:$/Users/ysbecca/ysbecca-projects/rebdav-curr/servercode/java.policy ResImpl.DistRMI flights localhost
